package com.ef.service;

import java.util.List;

import com.ef.domain.Department;
import com.ef.util.CustomExample;
import com.ef.util.PaginationSupport;

public interface DepartmentService extends BaseService {

	public PaginationSupport<Department> findByExample(
			CustomExample<Department> example, int startIndex, int pageSize);
	
	public void saveOrUpdate(Department entity);
	
	public void delete(Department entity); 
	
	public Department findById(Long id);
	
	public List<Department> findAll();
}
